package kr.co.hk.board.dto;

import java.io.Serializable;
/*
 * CREATE TABLE WRITERS(
   id 	   varchar2(10) primary key,
   passwd  varchar2(20),
   name    varchar2(20),
   addr    varchar2(25));
 *  
 */
public class WritersDTO implements Serializable {
	private String id;
	private String passwd;
	private String name;
	private String addr;
	
	public WritersDTO(String id, String passwd, String name, String addr) {
		this.id = id;
		this.passwd = passwd;
		this.name = name;
		this.addr = addr;
		
		
	}
	
	public WritersDTO() {
		
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}

	@Override
	public String toString() {
		return "WritersDTO [id=" + id + ", passwd=" + passwd + ", name=" + name
		+ ", addr=" + addr + "]";
	}
}
